﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
using Dynamicweb;

namespace DwProjectTemplate.App
{
	/// <summary>
	/// 
	/// </summary>
	public class LogFactory
	{
		public const string CustomLogFolder = "CustomLog";
		public static void Log( string message, string logFolder)
		{
			if ( CodeSettings.EnableLogFactory )
			{
				// Dynamicweb Logging
				LogToFile.Log( message, logFolder, LogToFile.LogType.ManyEntriesPerFile );

				// Yield 
				//throw new NotImplementedException("Uncomment the code to activate a default file logger");
			}
		}
	}
}